﻿#ifndef MATHUTILS_H
#define MATHUTILS_H

#include <QList>
#include <QPointF>

class MathUtils
{
public:
    MathUtils();
    static QList<double> LinearInterpolation(QList<double> xAxis,const QList<QPointF>& dataPoints);

private:
    static double linearInterpolation(double x_interpolate, const QList<QPointF>& dataPoints);
};

#endif // MATHUTILS_H
